package com.weixing.mall.provider.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author wx
 * @Date 2019/10/24 10:50
 * @Version 1.0
 */
@Data
public class ProductDto {
    private Long id;
    @ApiModelProperty(value = "商品ID")
    private Long goodsId;
    @ApiModelProperty(value = "商品码(货号)")
    private String goodsSn;
    @ApiModelProperty(value = "商品类目id")
    @NotNull(message = "商品类目id不能为空")
    private Long catId;
    @ApiModelProperty(value = "商品类目名称")
    @NotNull(message = "商品类目名称不能为空")
    private String catName;
    @ApiModelProperty(value = "货品名称")
    private String productName;
    @ApiModelProperty(value = "货品款号")
    private String productSn;
    @ApiModelProperty(value = "货品图片")
    private String productImg;
    @ApiModelProperty(value = "货品库存")
    private Integer productStock;
    @ApiModelProperty(value = "折扣价")
    private Double discountPrice;
    @ApiModelProperty(value = "市场价")
    private Double marketPrice;
    @ApiModelProperty(value = "货品SKU")
    private String productSku;
    @ApiModelProperty(value = "货品SKU注释")
    private String productSkuDesp;
    @ApiModelProperty(value = "款号")
    private  String styleNo;

}
